<!DOCTYPE html>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

var innerEvent = null;

function setInnerEvent(event)
{
    innerEvent = event;
    child.remove();
    setTimeout(finish, 0);
}

function finish()
{
    parent.innerEvent.path;
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<iframe src="resources/set-event.html" id="child"></iframe>
<div>Pass when no crash observed.</div>
